package cc.fs.zhihu.beans;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * Created by fostion on 2015/10/21.
 */
public class VideoBean1 implements Parcelable {
    String id;
    String title;
    String path;
    String imgPath;
    String mimeType;
    long size;
    long duration;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public String getImgPath() {
        return imgPath;
    }

    public void setImgPath(String imgPath) {
        this.imgPath = imgPath;
    }

    public String getMimeType() {
        return mimeType;
    }

    public void setMimeType(String mimeType) {
        this.mimeType = mimeType;
    }

    public long getSize() {
        return size;
    }

    public void setSize(long size) {
        this.size = size;
    }

    public long getDuration() {
        return duration;
    }

    public void setDuration(long duration) {
        this.duration = duration;
    }

    public static Creator<VideoBean1> getCREATOR() {
        return CREATOR;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(this.id);
        dest.writeString(this.title);
        dest.writeString(this.path);
        dest.writeString(this.imgPath);
        dest.writeString(this.mimeType);
        dest.writeLong(this.size);
        dest.writeLong(this.duration);
    }

    public VideoBean1() {
    }

    protected VideoBean1(Parcel in) {
        this.id = in.readString();
        this.title = in.readString();
        this.path = in.readString();
        this.imgPath = in.readString();
        this.mimeType = in.readString();
        this.size = in.readLong();
        this.duration = in.readLong();
    }

    public static final Creator<VideoBean1> CREATOR = new Creator<VideoBean1>() {
        public VideoBean1 createFromParcel(Parcel source) {
            return new VideoBean1(source);
        }

        public VideoBean1[] newArray(int size) {
            return new VideoBean1[size];
        }
    };
}
